package com.benz.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.*;

@TableName(value="bz_order")
@Data
public class Order implements Serializable {

    @TableId(value="id",type= IdType.AUTO)
    private Long id;
    @TableField(value="order_sn")
    private String orderSn;
}